package com.itheima.day20.demo06;

import java.lang.reflect.Method;

public class demo15 {
    public static void main(String[] args) throws Exception {
        Class<?> aClass = Class.forName("com.itheima.day20.demo06.Player");
        Method[] methods = aClass.getDeclaredMethods();
        for (Method method : methods) {
            System.out.println(method);
        }
    }
}
